export default {
	props: {
		modelValue: {
			type: Boolean,
			default: false,
		},
	},
	data() {
		return {
			closeOnClickModal: false, //是否可以通过点击 modal 关闭 Dialog
		};
	},
	emits: ['update:modelValue'],
	computed: {
		visible: {
			get() {
				return this.modelValue;
			},
			set(e) {
				this.$emit('update:modelValue', e);
			},
		},
	},
};
